using System;

using D3D = Microsoft.DirectX.Direct3D;

namespace SharpWind.Resources.Creators
{
	public class TeapotMeshCreator : IResourceCreator<Mesh>
	{
		public Mesh Create()
		{
			D3D.Mesh m = D3D.Mesh.Teapot( Engine.Instance.Renderer.Device );

			Mesh mesh = new Mesh();
			mesh.D3DMesh = m;

			return mesh;
		}
	}
}
